package cz.semjob.linguistic.reader.attribute.value.linguistic;

import cz.semjob.common.attribute.value.IntegerAttributeValue;
import cz.semjob.common.attribute.value.NominalStringAttributeValue;
import cz.semjob.linguistic.reader.attribute.ARelationshipAttribute;

public class ParserAttributeValue extends ALinguisticAttributeValue {
	
	private IntegerAttributeValue headIndex;
	
	private NominalStringAttributeValue dependencyRelationship;

	public IntegerAttributeValue getHeadIndex() {
		return headIndex;
	}

	public void setHeadIndex(int value) {
		this.headIndex = new IntegerAttributeValue("HeadIndex", value);
	}

	public NominalStringAttributeValue getDependencyRelationship() {
		return dependencyRelationship;
	}

	public void setDependencyRelationship(String value, ARelationshipAttribute attribute) {
		this.dependencyRelationship = new NominalStringAttributeValue(attribute.getName(), value, attribute);
	}

	@Override
	public String toString() {
		return "ParserAttribute [headIndex=" + headIndex
				+ ", dependencyRelationship=" + dependencyRelationship + "]";
	}
	
	
	
	
	
	
	
	

}
